﻿using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Abp.Domain.Entities;
using Abp.Domain.Entities.Auditing;

namespace pandx.Mulan.Flows
{
    [Table("FlowSchemes")]
    public class FlowScheme:FullAuditedEntity<long>,IMayHaveTenant
    {
        public int? TenantId { get; set; }
        [Required]
        [MaxLength(512)]
        public string SchemeName { get; set; }
        [Required]
        public string SchemeContent { get; set; }
        public long FormId { get; set; }
        public string Description { get; set; }
        
    }

    public enum FormType
    {
    
        BuiltIn=1,
        Design=0,
    }
}
